<?php
define('APPLICATION_PATH', realpath(__DIR__ . '/../'));
require_once APPLICATION_PATH.'/application/Bootstrap.php';
require_once APPLICATION_PATH . '/../../config/config.php';
require_once APPLICATION_PATH . '/../../apps/frontend/application/plug/Error.php';
$classLoader = require(APPLICATION_PATH . '/../../vendor/autoload.php');

$classLoader->setPsr4('model\\', APPLICATION_PATH . '/application/models/');
$classLoader->setPsr4('Halo\\', APPLICATION_PATH . '/../../library/Halo/');
$classLoader->setPsr4('Eagle\\', APPLICATION_PATH . '/../../common/');
Bootstrap::run();
